package com.wyh.day06.exercise;

/**
 * @author 王艺豪
 * @version 1.0
 */
public class Bird extends Animal {
    String color;

    public Bird(String name, int age, String food, String color) {
        super(name, age, food);
        this.color = color;
    }

    public void fly() {
        System.out.println(name + "正在飞...");
    }
}
